/**
 * 
 */
package graph;

import java.awt.Graphics;
import java.awt.Rectangle;

import facility.Facility;

import util.MathUtil;

/**
 * @author xiaohui
 * 
 */
public class NetNode extends GraphNode {

	/**
	 * Constructor.
	 * 
	 * @param id
	 *            id of the node
	 * @param x
	 *            x-coordinate
	 * @param y
	 *            y-coordinate
	 */
	public NetNode(int id, double x, double y) {
		super(id, x, y);
	}

	public NetNode(int id, GraphNode graphNode) {
		super(id, graphNode);
	}

	public String toString() { // Always a good idea for debuging
		// JUNG2 makes good use of these.
		return "V" + getId() + "(" + x + "," + y + ")";
	}
}
